package com.fancy.projecty.mapper;

import com.fancy.projecty.pojo.AskForLeave;
import com.fancy.projecty.pojo.bo.ActRuTaskBO;
import com.fancy.projecty.pojo.bo.FlowDisposeBO;

import java.util.List;
import java.util.Map;

public interface AskForLeaveMapper {
    int deleteByPrimaryKey(Integer id);


    int insertSelective(AskForLeave record);

    AskForLeave selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AskForLeave record);

//    int updateByPrimaryKey(AskForLeave record);

	List<ActRuTaskBO> selectLeaveExamineByAssignee(Map<String, Object> map);

	List<Map> selecthistoricalProcess(Map map);

	List<FlowDisposeBO> selectFlowDisposeByLoginId(String loginId);


	List<Map> selectEndFlowInstance(Map map);
	List<Map> selectNotEndFlowInstance(Map map);
}